package com.tianaceae.educational.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 教务阶段课程对象 edu_stage
 * 
 * @author zhouhonggang
 * @date 2023-03-29
 */
public class EduStage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 课程标题 */
    @Excel(name = "课程标题")
    private String stageTitle;

    /** 课程封面 */
    @Excel(name = "课程封面")
    private String stageCover;

    /** 课程类型 */
    @Excel(name = "课程类型")
    private String stageType;

    /** 乐观锁 */
    private Long revision;

    /** 教务阶段课程详情信息 */
    private List<EduStageDetails> eduStageDetailsList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStageTitle(String stageTitle) 
    {
        this.stageTitle = stageTitle;
    }

    public String getStageTitle() 
    {
        return stageTitle;
    }
    public void setStageCover(String stageCover) 
    {
        this.stageCover = stageCover;
    }

    public String getStageCover() 
    {
        return stageCover;
    }
    public void setStageType(String stageType)
    {
        this.stageType = stageType;
    }

    public String getStageType()
    {
        return stageType;
    }
    public void setRevision(Long revision) 
    {
        this.revision = revision;
    }

    public Long getRevision() 
    {
        return revision;
    }

    public List<EduStageDetails> getEduStageDetailsList()
    {
        return eduStageDetailsList;
    }

    public void setEduStageDetailsList(List<EduStageDetails> eduStageDetailsList)
    {
        this.eduStageDetailsList = eduStageDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("stageTitle", getStageTitle())
            .append("stageCover", getStageCover())
            .append("stageType", getStageType())
            .append("revision", getRevision())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("eduStageDetailsList", getEduStageDetailsList())
            .toString();
    }
}
